package entity;

/**
 * @program: SSM201759225309
 * @description: Result实体类
 * @author: Xiaozhuoer
 * @create: 2021-05-07 13:16
 **/

public class Result {
    private int status = 1; //状态, 成功-0,失败-1;
    private String msg;     //消息
    private Object data;    //数据

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "Result{" +
                "status=" + status +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }
}
